package com.woniuxy.cloud.ticket52.movieassembly.dao;

import com.woniuxy.cloud.ticket52.movieassembly.model.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 电影评论 Mapper 接口
 * </p>
 *
 * @author rc
 * @since 2021-05-06
 */
public interface CommentMapper extends BaseMapper<Comment> {

    @Select("select * from m_comment where movie_id=#{movie_id}")
    Comment findByMid(int movie_id);
}
